*****************************************************************
**// Test of GFC effect
*****************************************************************
clear
set more off
use "\\file\UsersW$\wrr15\Home\My Documents\My Files\SAMANGI BANDARANAYAKE\REPLICATION PAPER\REVISION FOR CRITICAL FINANCE REVIEW\DATA AND CODE\FILES FOR REVISED PAPER\Table6&10.dta", replace

**// Duration models
drop if DKD_First == 9
drop if year < 1979

xtset country_id year

gen GFC=(year==2008|year==2009|year==2010)

gen GFC2=(year>2007)

xtreg conavmixed_avg GFC if year > 1995, fe vce(cluster country_id)

xtreg conavmixed_avg GFC2 if year > 1995, fe vce(cluster country_id)
